package com.qf.cqut.mapper;

import com.qf.cqut.model.pojo.APlan;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 忽失的温热
* @description 针对表【a_plan】的数据库操作Mapper
* @createDate 2024-01-08 01:04:13
* @Entity com.qf.cqut.model.pojo.APlan
*/
public interface APlanMapper {

    int deleteByPrimaryKey(Long id);

    int insert(APlan record);

    int insertSelective(APlan record);

    APlan selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(APlan record);

    int updateByPrimaryKey(APlan record);

    List<APlan> selectByLimit(@Param("page") Integer page, @Param("limit") Integer limit);

    Integer count();

    Integer deleteByIds(@Param("ids") String[] ids);

    Integer addAplan(APlan aPlan);

    Integer editAplan(APlan aPlan);

    List<APlan> queryByConditions(APlan aPlan);
}
